# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/6/8
#-------------------------------------------------------------------------------

from flask import Flask,render_template
app=Flask(__name__)

@app.route('/')
def index():
    return render_template('index.html')

@app.route('/user/<name>')
def user(name):
    return render_template('user.txt',name1=name)

if __name__ == '__main__':
    # app.run()
    app.run(host='0.0.0.0',port='1234')